package com.kingsoft.labs.tangram.blocks;

import com.kingsoft.labs.tangram.domain.Result;
import com.kingsoft.labs.tangram.domain.Task;

public class Block {
	protected String name;
	protected Block[] children;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public Block[] getChildren() {
		return children;
	}
	
	public void setChildren(Block[] children) {
		this.children = children;
	}
	
	public Result doTask(Task task) {
		Result result = new Result();
		result.setAllFlags(true);
		return result;
	}
}
